package demo.pattern.Factory;

/**
 * @author : GuoFei
 * @date : 2018/12/4 15:52
 */
abstract class Car {

    private String name;
    public abstract void dirve();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
